﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace U9BJWebApi.Models.RequestDTOs
{
    public class EDIRcvDto
    {

        // 注意: 生成的代码可能至少需要 .NET Framework 4.5 或 .NET Core/Standard 2.0。
        /// <remarks/>
        [System.SerializableAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
        [System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)]
        public partial class document
        {

            private documentReceipt receiptField;

            /// <remarks/>
            public documentReceipt receipt
            {
                get
                {
                    return this.receiptField;
                }
                set
                {
                    this.receiptField = value;
                }
            }
        }

        /// <remarks/>
        [System.SerializableAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
        public partial class documentReceipt
        {

            private documentReceiptHead headField;

            private documentReceiptDetail detailField;

            /// <remarks/>
            public documentReceiptHead head
            {
                get
                {
                    return this.headField;
                }
                set
                {
                    this.headField = value;
                }
            }

            /// <remarks/>
            public documentReceiptDetail detail
            {
                get
                {
                    return this.detailField;
                }
                set
                {
                    this.detailField = value;
                }
            }
        }

        /// <remarks/>
        [System.SerializableAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
        public partial class documentReceiptHead
        {

            private string transaction_typeField;

            private ulong receipt_idField;

            private ushort facility_idField;

            private string supplier_idField;

            private byte ship_to_idField;

            private long shipper_noField;

            private object ship_date_timeField;

            private string receipt_date_timeField;

            /// <remarks/>
            public string transaction_type
            {
                get
                {
                    return this.transaction_typeField;
                }
                set
                {
                    this.transaction_typeField = value;
                }
            }

            /// <remarks/>
            public ulong receipt_id
            {
                get
                {
                    return this.receipt_idField;
                }
                set
                {
                    this.receipt_idField = value;
                }
            }

            /// <remarks/>
            public ushort facility_id
            {
                get
                {
                    return this.facility_idField;
                }
                set
                {
                    this.facility_idField = value;
                }
            }

            /// <remarks/>
            public string supplier_id
            {
                get
                {
                    return this.supplier_idField;
                }
                set
                {
                    this.supplier_idField = value;
                }
            }

            /// <remarks/>
            public byte ship_to_id
            {
                get
                {
                    return this.ship_to_idField;
                }
                set
                {
                    this.ship_to_idField = value;
                }
            }

            /// <remarks/>
            public long shipper_no
            {
                get
                {
                    return this.shipper_noField;
                }
                set
                {
                    this.shipper_noField = value;
                }
            }

            /// <remarks/>
            public object ship_date_time
            {
                get
                {
                    return this.ship_date_timeField;
                }
                set
                {
                    this.ship_date_timeField = value;
                }
            }

            /// <remarks/>
            public string receipt_date_time
            {
                get
                {
                    return this.receipt_date_timeField;
                }
                set
                {
                    this.receipt_date_timeField = value;
                }
            }
        }

        /// <remarks/>
        [System.SerializableAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute("code")]
        [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
        public partial class documentReceiptDetail
        {

            private string cust_part_noField;

            private object po_numberField;

            private object po_line_noField;

            private ushort ship_quantityField;

            private ushort received_quantityField;

            /// <remarks/>
            public string cust_part_no
            {
                get
                {
                    return this.cust_part_noField;
                }
                set
                {
                    this.cust_part_noField = value;
                }
            }

            /// <remarks/>
            public object po_number
            {
                get
                {
                    return this.po_numberField;
                }
                set
                {
                    this.po_numberField = value;
                }
            }

            /// <remarks/>
            public object po_line_no
            {
                get
                {
                    return this.po_line_noField;
                }
                set
                {
                    this.po_line_noField = value;
                }
            }

            /// <remarks/>
            public ushort ship_quantity
            {
                get
                {
                    return this.ship_quantityField;
                }
                set
                {
                    this.ship_quantityField = value;
                }
            }

            /// <remarks/>
            public ushort received_quantity
            {
                get
                {
                    return this.received_quantityField;
                }
                set
                {
                    this.received_quantityField = value;
                }
            }
        }


    }
}